<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8" %>
<%@ include file="/pages/common/taglibs.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"
		   prefix="fn" %>
<style>
	.formTable{text-align:left;}

</style>
<h1>基金解绑卡</h1>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/fund/bindCard.js"></script>
<form id="form" action="${ctx}/fund/doBindCard.do" method="POST" target="_blank" >
	<input type="hidden" name="VerficationCode" value="${config.verficationCode }"/>
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.0" selected >2.0</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode}" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>基金平台商户号:</td>
			<td>
				<input type="text" id="merchantId" name="merchantId" value="${config.merchantId}" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="customerIdTip"></span>
			</td>
		</tr>


		<tr>
			<td align=right>订单号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="" size="50" autoComplete="off"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>签约协议号:</td>
			<td>
				<input type="text" id="agentSignNo" name="agentSignNo"
					   value="${config.agentSignNo}" style="width:320px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="agentSingNoip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>后台通知地址:</td>
			<td>
				<input type="text" id="backgroundMerUrl" name="backgroundMerUrl"
					   value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" style="width:320px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merURLTip"></span>
			</td>
		</tr>

		<tr> <td align=right>银行代码:</td> <td> <input type="text" id="bankCode" name="bankCode" value="${config.bankCode }" size="50"/>
		</td> <td width="25%" align=left> <font color=red>*</font> <span id="nameTip"></span> </td> </tr>

		<tr> <td align=right>客户名:</td> <td> <input type="text" id="realName" name="realName" value="${config.realName }"
												   size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="realnameTip"></span> </td> </tr>



		<tr> <td align=right>业务类型:</td> <td>
			<input type="radio" name="type" value="1" size="50" checked="checked"/> 绑卡
			<br />
			<input type="radio" name="type" value="2" size="50"/> 解卡
		</td> <td width="25%" align=left> <span id="sexTip"></span> </td> </tr>

		<tr> <td align=right>银行卡号:</td> <td> <input type="text" id="bankNo" name="bankNo" value="${config.bankNo }"
													size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="bankNoip"></span> </td> </tr>

		<tr> <td align=right>手机号:</td> <td> <input type="text" id="mobile" name="mobile" value="${config.mobile }"
												   size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="mobileip"></span> </td> </tr>

		<tr> <td align=right>证件类型:</td> <td> <input type="text" id="certificateType" name="certificateType" value="${config.certificateType }" size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="certificateTypeip"></span> </td>
		</tr>

		<tr> <td align=right>证件号码:</td> <td> <input type="text" id="certificateNo" name="certificateNo" value="${config.certificateNo}"
													size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="certificateNoip"></span> </td> </tr>

		<tr> <td align=right>商户备用字段1:</td> <td> <input type="text" id="merRemark1" name="merRemark1" value="${config.merRemark1 }"
													   size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="merRemark1ip"></span> </td> </tr>
		<tr> <td align=right>商户备用字段2:</td> <td> <input type="text" id="merRemark2" name="merRemark2" value="${config.merRemark2 }"
													   size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="merRemark2ip"></span> </td> </tr>

		<tr> <td align=right>来源:</td> <td> <input type="text" id="source" name="source" value="${config.source }"
												  size="50"/> </td> <td width="25%" align=left> <font color=red>*</font> <span id="sourceip"></span> </td> </tr>


		<tr>
			<td align=right>交易时间:</td>
			<td><input type="text" id="tranDateTime" name="tranDateTime" value="${config.tranDateTime }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>防钓鱼时间:</td>
			<td><input type="text" id="gopayServerTime" name="gopayServerTime" value="" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="gopayServerTimeip"></span>
			</td>
		</tr>
		<tr><td align=right>字符集: </td><td><input type="text" id="charset" name="charset" value="2" size="50"/></td></tr>
		<tr><td align=right></td><td >1:GBK,2:UTF-8 (不填则当成1处理)</td></tr>
		<tr><td align=right>报文加密方式: </td><td><input type="text" id="signType" name="signType" value="1"
													size="50"/></td></tr>
		<tr><td align=right></td><td >1:MD5,2:SHA (不填则当成1处理)</td></tr>
		<tr>
			<td align=right>用户浏览器IP:</td>
			<td>
				<input type="text" id="tranIP" name="tranIP" value="127.0.0.1" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="recvBankAcctNameTip"></span>
			</td>
		</tr>
        <tr><td align=right>商户识别码:  </td><td><input type="text" id="verficationCode" name="verficationCode" value="${config.verficationCode }" size="50"/></td></tr>
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" value="设置订单" id="defButton" name="defButton"/>&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>


	</table>
</form>